#include <stdio.h>
#include "templates.h"

void PrintForm(void)
{
    printf("<form action=\"/cgi-bin/search_handler.cgi\" method=\"post\" enctype=\"text/plain\">\n");
    printf("<table class=\"input_table\" summary=\"\">\n");
    printf("<tr>\n<td><label>Enter E-Mail: </label></td>\n");
    printf("<td>\n<div class=\"input_div search_div\">\n<input type=\"text\" name=\"email\">\n</div>\n</td>\n</tr>\n");
    printf("<tr>\n<td></td>\n<td><input class=\"find\" value=\"find\" type=\"image\" src=\"/images/fb_form/find.png\">\n</td>\n</tr>\n");
    printf("</table>\n");
    printf("</form>\n");
}

void main(void)
{
    PrintHTTPResponseHeader();
    PrintHTMLHead("Get User Info", "Get User Info", "Just enter the E-Mail to a user's search.");
    PrintForm();
    PrintHTMLEnd();
}